package java_objects.static_modifier;

public class RectangleTest {

	public static void main(String[] args) {
		
		Rectangle r = new Rectangle(10,20);
		
		// instance method will use data from instance
		System.out.println(r.area());
		
		// static method does not need instance data
		System.out.println(Rectangle.area(100, 200));
	}

}
